<!DOCTYPE html >
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="layui-container">
    <h2>自定义登录页面</h2>
    <form th:action="@{/login}" method="post">
        <div th:if="${param.error}">
            账号或密码错误
        </div>
        <label>
            <span>用户名：</span>
            <input type="text" name="username">
            <!--<input type="text" name="uname">-->
        </label>
        <br/>

        <label>
            <span>密码：</span>
            <input type="password" name="password">
            <!--<input type="password" name="psd">-->
        </label>
        <input type="submit" class="submit input_button"  value="登录">
    </form>
</div>


</body>
</html>